package com.zyq.mapper;

import com.zyq.model.request.UserRoleDto;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

/**
 * UserRoleMapper
 * @author dolyw.com
 * @date 2018/8/31 14:43
 */
public interface UserRoleMapper extends Mapper<UserRoleDto> {

    /** 插入用户角色表 */
    int insertUserRole(@Param("userId") Long userId, @Param("roleId") Long roleId);


}
